###
 # @Description: 
 # @Version: 2.0
 # @Autor: xudongxu
 # @Date: 2020-03-27 14:46:35
 # @LastEditors: xudongxu
 # @LastEditTime: 2020-03-27 17:12:12
 ###

#!/bin/bash
#设置输出路径
TARGET_PATH=Out/aarch64
if [ ! -e $TARGET_PATH ]
then 
    mkdir -p $TARGET_PATH
fi
cd $TARGET_PATH && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_TOOLCHAIN_FILE=cmake/aarch64_linux.cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF ../.. && make